#include "../GenericTypeDefs.h"
#include "../xc.h"

#ifndef _M_UART5_H
#define _M_UART5_H

#define PANEL_BUF_LEN   (256)

extern uint8_t PanelRxHead;
extern uint8_t PanelRxTail;
extern uint8_t PanelTxHead;
extern uint8_t PanelTxTail;
extern uint8_t PanelTxData[PANEL_BUF_LEN];
extern uint8_t PanelRxData[PANEL_BUF_LEN];

extern uint8_t PanelRxHead_CK;
extern uint8_t PanelRxTail_CK;
extern uint8_t PanelTxHead_CK;
extern uint8_t PanelTxTail_CK;
extern uint8_t PanelTxData_CK[PANEL_BUF_LEN];
extern uint8_t PanelRxData_CK[PANEL_BUF_LEN];

void PanelComm_RxTx(void);

#endif
